import VueRouter from "vue-router";
const routes=[
    {
        path:'/',
        name:'login',
        component:()=>import('../components/首页/loginMain')
    },
    {
        path:'/know',
        name:'know',
        component:()=>import('../components/了解更多/comprehendMore')
    },
    {
        path:'/preserve',
        name:'preserve',
        component:()=>import('../components/预约服务/preserveService')
    },
    {
        path:'/memory',
        name:'memory',
        component:()=>import('../components/纪念商城/memoryShop')
    },
    {
        path:'/center',
        name:'center',
        component:()=>import('../components/个人中心/personalCenter')
    },
    {
        path:'/login',
        name:'login',
        component:()=>import('../components/登录退出/loginAndQuit')
    },

]
const router=new VueRouter({
    mode:'history',
    routes
})
export default router;